package eco2automotive.gui.actions;
import java.awt.event.*;
import javax.swing.*;
import eco2automotive.gui.eco2automotive;
/** 
  * @version 1.0
  * @autor Fco. Javier Sánchez Esparza
 */
public class Act_btn_MANUAL implements ActionListener{
    
    eco2automotive parent;
    JTextField toSend;

    /**    
     * String to send: JTextField     
     * @param toSend JTextField
     * @param parent JFrame
     */
    public Act_btn_MANUAL(JTextField toSend,JFrame parent){
        this.parent=(eco2automotive)parent;
        this.toSend=toSend;
        
    }
        
public void actionPerformed(ActionEvent e) 
    {   
     parent.ELManual(toSend);           
        
    }
       

}
